package com.xiaoshuidi.cloud.module.contract.convert.bill;

import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.contract.controller.admin.bill.vo.orderFees.*;
import com.xiaoshuidi.cloud.module.contract.dal.dataobject.bill.OrderFeesDO;
import com.xiaoshuidi.cloud.module.contract.dal.dataobject.bill.OrderFeesDetailDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


/**
 * 账单明细 Convert
 *
 * @author 合房租赁
 */
@Mapper
public interface OrderFeesConvert {

    OrderFeesConvert INSTANCE = Mappers.getMapper(OrderFeesConvert.class);

    OrderFeesDO convert(OrderFeesCreateReqVO bean);

    OrderFeesDO convert(OrderFeesUpdateReqVO bean);

    OrderFeesRespVO convert(OrderFeesDO bean);

    List<OrderFeesRespVO> convertList(List<OrderFeesDO> list);

    PageResult<OrderFeesRespVO> convertPage(PageResult<OrderFeesDO> page);

    List<OrderFeesExcelVO> convertExcelList(List<OrderFeesDO> list);

    List<OrderFeesDO> convert(List<OrderFeesCreateReqVO> list);

    OrderFeesCreateReqVO convert(OrderFeesVo bean);

    List<OrderDetailVo> convertDetail(List<OrderFeesDetailDO> orderFeesDetail);

    List<OrderDetailExcelVo> convertList01(List<OrderFeesDetailDO> orderFeesDetail);
}
